/*
 * @Project_description: 工具方法
 */
'use strict'

import dayjs from "dayjs"
import lodash from 'lodash'
import http from './http'
import mqtt from './mqtt'
import customHttp from "./customHttp"
import wxmp from './wxmp'
import   tree from 'tree-lodash'
export default (Vue)=> {
    uni.$http = http
    uni.$dayjs = dayjs
    uni.$lodash = lodash
    uni.$mqtt = mqtt
    uni.$customHttp = customHttp
    uni.$wxmp = wxmp
    uni.$tree = tree
    Vue.prototype.$http = http
    Vue.prototype.$customHttp = customHttp
    Vue.prototype.$dayjs = dayjs
    Vue.prototype.$lodash = lodash
    Vue.prototype.$mqtt = mqtt
    Vue.prototype.$wxmp = wxmp
    Vue.prototype.$tree = tree

}


